#include "Stick.h"
#include "DrawableSprite.h"
#include <cmath>

Stick::Stick(sf::Sprite stickSprite):DrawableSprite(stickSprite) {}

void Stick::generateCoordinates()
{
    //TODO: Fill in with definition
    float stickX = rand() % 300 + 1;
    float stickY = rand() % 300 + 1;
    _sprite.setPosition(stickX , stickY);
}

void Stick::draw(sf::RenderTarget& target, sf::RenderStates states) const
{
    target.draw(_sprite, states);
}
